// IHost.h : Declaration of the CIHost

#ifndef __IHOST_H_
#define __IHOST_H_

#include "resource.h"       // main symbols

/////////////////////////////////////////////////////////////////////////////
// CIHost
class ATL_NO_VTABLE CIHost : 
	public CComObjectRootEx<CComSingleThreadModel>,
	public CComCoClass<CIHost, &CLSID_IHost>,
	public IDispatchImpl<IIHost, &IID_IIHost, &LIBID_CHMCOMPILERLib>
{
public:
	CIHost()
	{
	}

DECLARE_REGISTRY_RESOURCEID(IDR_IHOST)

DECLARE_PROTECT_FINAL_CONSTRUCT()

BEGIN_COM_MAP(CIHost)
	COM_INTERFACE_ENTRY(IIHost)
	COM_INTERFACE_ENTRY(IDispatch)
END_COM_MAP()

// IIHost
public:
	STDMETHOD(Proc)(/*[in]*/ BSTR msg,/*[out, retval]*/ VARIANT_BOOL *pVal);
	STDMETHOD(Log)(/*[in]*/ BSTR msg,/*[out, retval]*/ VARIANT_BOOL *pVal);
};

#endif //__IHOST_H_
